package com.cmc.cloud.cmclink.doc.vo.multimodaltransport.multiop;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 中转代理操作分页 Response VO
 * 
 * @author heguo
 */
@Schema(description = "管理后台 - 中转代理操作 setDO VO")
@Data
@EqualsAndHashCode()
@ToString(callSuper = true)
public class MultiOpTransferAgentSetDoVO {

    @Schema(description = "提单ID列表", example = "")
    @Size(min = 1, max = 100, message = "id列表长度在{min}到{max}之间")
    private List<Long> blIds;

    @Schema(description = "D/O状态 Delivery against original B/L、Telex release、Delivery against Bank L/G、Delivery against L/G、Sea waybill、Electronic B/L")
    @NotBlank(message = "{MultiOpTransferAgentSetDoVO.doStatus.notBlank}")
    private String doStatus;
}
